From d7699ab3ded70fd6393094e0321712cfc95743c4 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 20 Oct 2003 13:24:22 +0000 Subject: [PATCH] Update from Mark. --- gpsbabel/intdoc/MPSformat | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/gpsbabel/intdoc/MPSformat b/gpsbabel/intdoc/MPSformat index 575eeac68..9fc507895 100644 --- a/gpsbabel/intdoc/MPSformat +++ b/gpsbabel/intdoc/MPSformat @@ -1,5 +1,6 @@ // An EBNF+ format. +// This is a comment // "xxx" is the literal three characters x, x and x // 0xA8 means a byte of hexadecimal value A8 // ::= 0x00 @@ -8,10 +9,13 @@ // [] means is optional // | means either or // { } is grouping of two or more entities together; mainly for use with the | or operator -// This is a comment // Entity names might be long winded but are intended to convey some meaning without explicit/additional comments // Version history +// V2.4 - 2003/10/18 18:42 BST (GMT+1) mrcb.mps.fmt@osps.net +// Updates to route formats to include interlink steps (my name for them) +// V2.3 - 2003/10/03 17:49 BST (GMT+1) mrcb.mps.fmt@osps.net +// I must type really badly as there were more typoes to sort out. // V2.2 - 2003/09/27 23:33 BST (GMT+1) mrcb.mps.fmt@osps.net // Corrected typoes // Corrected NULL terminated string length counts for records with strings @@ -180,9 +184,11 @@ ::= | | +// Note: for each waypoint that appears in a route, there must also be a "normal" waypoint defined ::= "R" ASCII-Route-Name-string Long(Number-of-Waypoints-in-Route) +// Note: for each waypoint that appears in a route, there must also be a "normal" waypoint defined ::= "R" ASCII-Route-Name-string Long(Number-of-Waypoints-in-Route) @@ -204,9 +210,9 @@ // Part of the route bounding a 3D co-ordinate ::= - ::= Long(0x00) 0x01 + ::= Long(0x00) 0x01 - ::= [] + ::= [] ::= @@ -216,9 +222,9 @@ ::= 0x00 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 - ::= Long(0x00) 0x01 + ::= Long(0x00) 0x01 - ::= [] + ::= [] ::= @@ -226,9 +232,13 @@ ::= 0x00 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 - ::= Long(0x02) + ::= Long(0x02 + Num-of-Interlink-steps) [] +// These are optional additional steps between the two ends of the link +// Why MapSource creates these is unknown + ::= + ::= ::= -- 2.30.2